package com.nxmu.hire.vo;

import com.nxmu.hire.model.enums.RoleEnum;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 登录
 */
public class LoginReqVo implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@NotBlank
    private String userId;

    @NotBlank
    private String password;

    @NotNull
    private RoleEnum role;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public RoleEnum getRole() {
        return role;
    }

    public void setRole(RoleEnum role) {
        this.role = role;
    }

}
